﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord;

namespace ZDSoft.TES.Entity.FunctionEntity
{
    [ActiveRecord("Answer")]
    public class Answer : EntityBase<Answer>
    {
        [Property]
        public string AnswerContent { get; set; }

        [HasMany(typeof(QuestionAnswer), ColumnKey = "AnswerID", Inverse = true, Lazy = true)]
        public IList<QuestionAnswer> QuestionAnswers { get; set; }
    }
}
